package day1119;

import java.util.Scanner;
public class Demo17 {
    public static void main(String[] args) {
        int  priceNumber=   (int) (Math.random()*8999+1000);
        Scanner sc=new Scanner(System.in);
        int  userInputNum=0;
        do{
            if(userInputNum>priceNumber){
                System.out.println("大了");
            }else if(userInputNum<priceNumber){
                System.out.println("小了");
            }
        }while(priceNumber != userInputNum);
        System.out.println("恭喜你中奖了");
    }
}

